
//
//  UILabel+Extension.swift
//  sanwuWeibo
//
//  Created by 王先强 on 15/12/7.
//  Copyright © 2015年 王先强. All rights reserved.
//

import UIKit

extension UILabel {
    
    convenience init(title: String, color: UIColor = UIColor.darkGrayColor(), fontSize: CGFloat = 14) {
        self.init()
        text = title
        textColor = color
        textAlignment = NSTextAlignment.Center
        font = UIFont.systemFontOfSize(fontSize)
        numberOfLines = 0
    }
    
}